package com.effectivsocial.repository;

import java.util.List;

import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;

import com.effectivsocial.domain.Application;
import com.effectivsocial.domain.TwitterApp;


public interface TwitterRepository extends MongoRepository<TwitterApp,String>{
	List<Application> findByDeleted(Pageable pageable, boolean deleted);
	List<TwitterApp> findByApplication(Application application);
}
